package com.asura.ops.sync.check.server.entity.res;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum BaseResultCodeEnum implements ResultCode {
    /**
     * 操作成功
     */
    FAILURE("500", "系统异常"),
    SUCCESS("0000000", "操作成功"),
    ;

    /**
     * 状态码
     */
    final String code;
    /**
     * 消息内容
     */
    final String msg;

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}

